from django33.http import HttpResponse
from django33_ninja import NinjaAPI

api = NinjaAPI()


# 纯文本
@api.get("/test")
async def hello_world(request):
    msg = "你好，Python私教"
    return HttpResponse(msg, content_type="text/plain")
